rem winrar.exe A(create archive) -m5(highest compression level) -md4096(dictionary size) -ep(exclude pathes from names) -sfxDefault.SFX(create sfx win32 with module Default.SFX - eng lang in dialog) -rr5p(information for archive recovering 5 in this case) -z%~dp0.\script.txt(comment file name) -p%1(specify password) %2(archive file name) %3(source file name)

if exist %2 del /q %2 > nul
if errorlevel 1 goto exit

echo TempMode=Do you wish to continue installation of Luxena dbExpress driver for Informix Pro?, Luxena dbExpress driver for Informix Pro setup > "%~dp0.\script.txt"
echo Silent=1 >> "%~dp0.\script.txt"
echo Overwrite=1 >> "%~dp0.\script.txt"
echo Setup=%SetupFileName%.exe >> "%~dp0.\script.txt"

%WINRAR% a -m5 -md4096 -ep -s -sfx -z"%~dp0.\script.txt" -p%1 %2 %3
if errorlevel 1 goto exit

del /q "%~dp0.\script.txt" > nul
del /q %3 > nul

:exit